import request from "@/utils/request";
import { download } from "@/utils/request";


// 查询设备故障树 -- 上表
export function getData(params) {
  return request({
    url: "/homepage/getData",
    method: "get",
    params,
  });
}
export function systemState(params) {
  return request({
    url: "/homepage/systemState",
    method: "get",
    params,
  });
}
export function otherState(params) {
  return request({
    url: "/homepage/otherState",
    method: "get",
    params,
  });
}